<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="__PUBLIC__/admin/css/common.css" type="text/css" />
<title>管理区域</title>

</head>

<body>
<div id="man_zone">
<form name="editform" method="post" action="<{:U('sys/changesmtp')}>">
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr>
      <td width="18%" class="tb_head"><span class="left-title">项目名称</span></td>
      <td width="82%" class="tb_headb">&nbsp;内容</td>
    </tr>
    <tr>
      <td class="left_title_1">服务器地址：</td>
      <td>&nbsp;<input type="text" name="smtp" value="<{:C('MAIL_HOST')}>" size="45" />&nbsp;&nbsp;* 例如：smtp.qq.com</td>
    </tr>
    <tr>
      <td class="left_title_2">需要认证：</td>
      <td>&nbsp;<input name="auth" value="1" type="radio" <if condition="C('MAIL_SMTPAUTH') eq true">checked="checked"</if> /> 是 <input name="auth" value="0" type="radio" <if condition="C('MAIL_SMTPAUTH') eq false">checked="checked"</if> /> 否&nbsp;&nbsp;* 如果选择否，账号和密码将无效</td>
    </tr>
     <tr>
      <td class="left_title_1">发件邮箱：</td>
      <td>&nbsp;<input name="sendemail" type="text" size="45" value="<{:C('MAIL_USERNAME')}>" />&nbsp;* 发件人</td>
    </tr>
    
    <tr>
      <td class="left_title_2">认证密码：</td>
      <td>&nbsp;<input name="pass" size="45" type="password" />&nbsp;* smtp服务器认证密码</td>
    </tr>
   <tr>
      <td class="left_title_2">邮件格式：</td>
      <td>&nbsp;<input name="html" value="1" type="radio" <if condition="C('MAIL_ISHTML') eq true">checked="checked"</if> /> HTML <input name="html" value="0" type="radio" <if condition="C('MAIL_ISHTML') eq false">checked="checked"</if> /> TXT&nbsp;* 邮件内容是html格式还是txt，根据实际情况选择</td>
    </tr>
   
    <tr>
      <td class="left_title_1"></td>
      <td>&nbsp;<input type="submit"  value="完成提交" />&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value="重置" /></td>
    </tr>
    
  </table>
</form>
</div>
</body>
</html>
